namespace StaffingSystem.EF
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Department")]
    public partial class Department
    {
        [Key]
        public int D_Id { get; set; }

        public int D_PId { get; set; }

        [Required]
        [StringLength(20)]
        public string D_Number { get; set; }

        [Required]
        [StringLength(20)]
        public string D_Name { get; set; }

        public DateTime D_AddTime { get; set; }
    }
}
